<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>园林打卡手帐 - 苏州数字文旅</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#E63946',
                        secondary: '#457B9D',
                        accent: '#F1C40F',
                        dark: '#1D3557',
                        light: '#F1FAEE',
                        success: '#2A9D8F',
                        pending: '#94A3B8'
                    },
                    fontFamily: {
                        sans: ['PingFang SC', 'Helvetica Neue', 'Arial', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-shadow {
                box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            }
            .nav-item-active {
                color: #E63946;
                border-bottom: 3px solid #E63946;
            }
            .checkin-stamp {
                transform: rotate(-15deg);
                opacity: 0.9;
            }
            .camera-shutter {
                animation: pulse 2s infinite;
            }
            @keyframes pulse {
                0% { transform: scale(1); }
                50% { transform: scale(1.05); }
                100% { transform: scale(1); }
            }
        }
    </style>
</head>
<body class="bg-gray-50 h-screen flex flex-col">
    <!-- 顶部导航 -->
    <header class="bg-white shadow-sm sticky top-0 z-10">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <a href="home.html" class="text-gray-600 hover:text-primary transition-colors">
                <i class="fa fa-arrow-left text-xl"></i>
            </a>
            <h1 class="text-[clamp(1.2rem,5vw,1.5rem)] font-bold text-dark">园林打卡手帐</h1>
            <button class="text-gray-600 hover:text-primary transition-colors">
                <i class="fa fa-share-alt text-xl"></i>
            </button>
        </div>
    </header>

    <!-- 打卡进度 -->
    <div class="bg-white p-4">
        <div class="flex justify-between items-center mb-3">
            <h2 class="text-sm font-medium text-gray-500">苏州五大园林打卡进度</h2>
            <span class="text-sm font-semibold text-primary">1/5 已打卡</span>
        </div>
        <div class="w-full bg-gray-200 rounded-full h-2.5">
            <div class="bg-primary h-2.5 rounded-full" style="width: 20%"></div>
        </div>
    </div>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto pb-24">
        <!-- 打卡按钮 -->
        <div class="flex justify-center my-6">
            <button class="w-20 h-20 rounded-full bg-primary text-white flex items-center justify-center camera-shutter shadow-lg hover:shadow-xl transition-shadow">
                <i class="fa fa-camera text-3xl"></i>
            </button>
        </div>

        <!-- 园林列表 -->
        <div class="p-4 space-y-4">
            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1039/800/400" alt="拙政园" class="w-full h-40 object-cover">
                    <div class="absolute top-3 right-3 bg-success text-white text-xs font-bold px-2 py-1 rounded-full">
                        已打卡
                    </div>
                </div>
                <div class="p-4 flex justify-between items-center">
                    <div>
                        <h3 class="font-bold text-dark text-lg">拙政园</h3>
                        <p class="text-sm text-gray-500 mt-1">中国四大名园之首</p>
                    </div>
                    <div class="checkin-stamp">
                        <img src="https://picsum.photos/id/237/80/80" alt="拙政园印章" class="w-16 h-16 object-contain">
                    </div>
                </div>
            </div>

            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1040/800/400" alt="留园" class="w-full h-40 object-cover">
                    <div class="absolute top-3 right-3 bg-pending text-white text-xs font-bold px-2 py-1 rounded-full">
                        未打卡
                    </div>
                </div>
                <div class="p-4">
                    <h3 class="font-bold text-dark text-lg">留园</h3>
                    <p class="text-sm text-gray-500 mt-1">以建筑艺术精湛著称</p>
                </div>
            </div>

            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1041/800/400" alt="网师园" class="w-full h-40 object-cover">
                    <div class="absolute top-3 right-3 bg-pending text-white text-xs font-bold px-2 py-1 rounded-full">
                        未打卡
                    </div>
                </div>
                <div class="p-4">
                    <h3 class="font-bold text-dark text-lg">网师园</h3>
                    <p class="text-sm text-gray-500 mt-1">苏州园林中最小巧精致者</p>
                </div>
            </div>

            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1042/800/400" alt="环秀山庄" class="w-full h-40 object-cover">
                    <div class="absolute top-3 right-3 bg-pending text-white text-xs font-bold px-2 py-1 rounded-full">
                        未打卡
                    </div>
                </div>
                <div class="p-4">
                    <h3 class="font-bold text-dark text-lg">环秀山庄</h3>
                    <p class="text-sm text-gray-500 mt-1">以假山为特色的园林</p>
                </div>
            </div>

            <div class="bg-white rounded-xl overflow-hidden card-shadow">
                <div class="relative">
                    <img src="https://picsum.photos/id/1043/800/400" alt="狮子林" class="w-full h-40 object-cover">
                    <div class="absolute top-3 right-3 bg-pending text-white text-xs font-bold px-2 py-1 rounded-full">
                        未打卡
                    </div>
                </div>
                <div class="p-4">
                    <h3 class="font-bold text-dark text-lg">狮子林</h3>
                    <p class="text-sm text-gray-500 mt-1">以太湖石假山群闻名</p>
                </div>
            </div>
        </div>

        <!-- 打卡手帐预览 -->
        <div class="p-4 mt-6">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-lg font-bold text-dark">我的打卡手帐</h2>
                <a href="#" class="text-primary text-sm">查看全部</a>
            </div>
            <div class="bg-white rounded-xl p-4 card-shadow">
                <div class="flex items-start gap-3">
                    <img src="https://picsum.photos/id/1039/100/100" alt="拙政园打卡照片" class="w-20 h-20 rounded-lg object-cover">
                    <div class="flex-1">
                        <h3 class="font-semibold text-dark">拙政园打卡成功！</h3>
                        <p class="text-xs text-gray-500 mt-1">2023年10月15日 14:30</p>
                        <p class="text-sm text-gray-700 mt-2">"江南园林甲天下，苏州园林甲江南。拙政园的亭台楼阁，一步一景，果然名不虚传！"</p>
                        <div class="flex mt-3">
                            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded mr-2">#苏州园林</span>
                            <span class="inline-block bg-primary/10 text-primary text-xs px-2 py-1 rounded">#拙政园</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 底部导航 -->
    <footer class="bg-white border-t border-gray-200 py-2 mt-auto">
        <div class="flex justify-around">
            <a href="home.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-home text-lg"></i>
                <span class="text-xs mt-1">首页</span>
            </a>
            <a href="planner.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-map-o text-lg"></i>
                <span class="text-xs mt-1">规划</span>
            </a>
            <a href="checkin.html" class="flex flex-col items-center py-1 nav-item-active">
                <i class="fa fa-camera text-lg"></i>
                <span class="text-xs mt-1">打卡</span>
            </a>
            <a href="profile.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-user-o text-lg"></i>
                <span class="text-xs mt-1">我的</span>
            </a>
        </div>
    </footer>
</body>
</html>